/*
 *  Copyright 2023 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import (reference) '../../styles/variables.less';

.right-panel-announcement {
  .feed-header-content {
    display: inline;
  }
}

.announcement-alert-heading {
  color: @blue-27;
  font-weight: 600;
}

.view-all-btn {
  color: @text-grey-muted !important;
}

.ant-card.card-widget {
  box-shadow: none;
  border-radius: 10px;
  height: 100%;
  .ant-card-body {
    height: 100%;
  }
}

// MyData page scrollbar styles
.my-data-page-main-container {
  * {
    ::-webkit-scrollbar {
      width: 4px !important;
      height: 4px !important;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb {
      background: @grey-300;
      border-radius: 3px;
      opacity: 0.6;

      &:hover {
        background: @grey-300;
        opacity: 0.8;
      }
    }

    ::-webkit-scrollbar-corner {
      background: transparent;
    }

    // Firefox scrollbar styles
    scrollbar-width: thin;
    scrollbar-color: @grey-300 transparent;
  }
}
